Skip to content

Add Kleene boolean benchmarks#8476

Merged
gatesn merged 3 commits into
developfrom
ngates/kleene-bool-benchmarks
Jun 17, 2026
Merged

Add Kleene boolean benchmarks#8476
gatesn merged 3 commits into
developfrom
ngates/kleene-bool-benchmarks

Conversation

@gatesn

@gatesn gatesn commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

No description provided.

gatesn added 2 commits June 16, 2026 23:28
Signed-off-by: "Nicholas Gates" <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
@gatesn gatesn requested a review from a team June 17, 2026 15:31

@AdamGS AdamGS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Should we black_box inputs? I never know.

@gatesn gatesn added the changelog/chore A trivial change label Jun 17, 2026
@gatesn gatesn enabled auto-merge (squash) June 17, 2026 15:37
@codspeed-hq

codspeed-hq Bot commented Jun 17, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 20.32%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 6 improved benchmarks
❌ 14 regressed benchmarks
✅ 1518 untouched benchmarks
⏩ 54 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation slice_empty_vortex 368.3 ns 2,657.8 ns -86.14%
Simulation chunked_bool_canonical_into[(1000, 10)] 20.3 µs 35.7 µs -43.24%
Simulation slice_vortex_buffer[1024] 871.4 ns 1,335 ns -34.73%
Simulation slice_vortex_buffer[16384] 871.4 ns 1,335 ns -34.73%
Simulation slice_vortex_buffer[2048] 871.4 ns 1,335 ns -34.73%
Simulation slice_vortex_buffer[128] 871.4 ns 1,335 ns -34.73%
Simulation slice_vortex_buffer[65536] 871.4 ns 1,335 ns -34.73%
Simulation chunked_varbinview_canonical_into[(1000, 10)] 162.2 µs 198.1 µs -18.09%
Simulation chunked_varbinview_into_canonical[(1000, 10)] 177.7 µs 214 µs -16.98%
Simulation search_index_below_min_chunked 1.3 ms 1.5 ms -13.61%
Simulation search_index_mixed_out_of_range_chunked 1.3 ms 1.5 ms -13.31%
Simulation count_i32_clustered_nulls 47 µs 53.9 µs -12.78%
Simulation search_index_full_range_random_chunked 1.4 ms 1.6 ms -12.06%
Simulation chunked_varbinview_canonical_into[(100, 100)] 273.2 µs 308.8 µs -11.53%
Simulation take_10k_random 255.8 µs 197.7 µs +29.39%
Simulation take_10k_contiguous 276.3 µs 218.1 µs +26.66%
Simulation patched_take_10k_contiguous_patches 291 µs 232.1 µs +25.39%
Simulation patched_take_10k_random 303 µs 244 µs +24.18%
Simulation bitwise_not_vortex_buffer_mut[128] 215.3 ns 186.1 ns +15.67%
Simulation bitwise_not_vortex_buffer_mut[1024] 275.6 ns 246.4 ns +11.84%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing ngates/kleene-bool-benchmarks (2790787) with develop (85aad72)2

Open in CodSpeed

Footnotes

  1. 54 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on develop (8058097) during the generation of this report, so 85aad72 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Signed-off-by: Nicholas Gates <nick@nickgates.com>
@gatesn gatesn merged commit 60d165d into develop Jun 17, 2026
58 of 60 checks passed
@gatesn gatesn deleted the ngates/kleene-bool-benchmarks branch June 17, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants